package USer;

import Operation.*;
import book.BookList;

import java.util.Scanner;

public class  Adminuser extends User {
    public Adminuser (String name) {
        super(name);
        this.ioPeration=new IOperation[]{new ExitOperation(),
                new FindOperation(),
                new AddOperation(),
                new DelOperation(),
                new ShowOperation(),
                new ReviseOperation()};
        }

    public Adminuser() {
    }

    String name=getName();
    @Override
    public void mnum() {
        Scanner scanner=new Scanner(System.in);
        System.out.println("hello "+name+" 欢迎来到图书系统 ");
        System.out.println("********************");
        System.out.println("1.查找图书");
        System.out.println("2.增加图书");
        System.out.println("3.删除图书");
        System.out.println("4.显示图书");
        System.out.println("5.修改图书");
        System.out.println("0.退出系统");
        System.out.println("********************");
    }

}
